<?php 
if(isset($_GET["cur"]))
{
 $val=$_GET["cur"];
}
if(isset($val))
{
if($val==1){
	$class_1="current";
}elseif($val==2){
	$class_2="current";
}elseif($val==3){
    $class_3="current";
}elseif($val==4){
    $class_4="current";
}elseif($val==5){
    $class_5="current";
}elseif($val==6){
    $class_6="current";
}elseif($val==7){
    $class_7="current";
}elseif($val==8){
    $class_8="current";
}elseif($val==9){
    $class_9="current";
}elseif($val==10){
    $class_10="current";
}elseif($val==11){
    $class_11="current";
}elseif($val==12){
    $class_12="current";
}elseif($val==13){
    $class_13="current";
}elseif($val==14){
    $class_14="current";
}elseif($val==15){
    $class_15="current";
}elseif($val==16){
    $class_16="current";
}elseif($val==17){
    $class_17="current";
}elseif($val==18){
    $class_18="current";
}elseif($val==19){
    $class_19="current";
}elseif($val==20){
    $class_20="current";
}
}
?>
<div id="menu-container">
<?php 
if($_SESSION["profil"]=="LVDC"){?>

<ul id="simple-menu">
    <li><a href="lv_acc.php?cur=1" title="Accueil" class="<?php echo $class_1;?>">Accueil</a></li>
    <li><a href="lv_ges_user.php?cur=2" title="Utilisateurs" class="<?php echo $class_2;?>">Gestion Utilisateurs</a></li>
    <li><a href="lv_ges_dis.php?cur=3" title="Gestion des distributeurs" class="<?php echo $class_3;?>">Gestions des &eacute;tablissements</a></li>
     <li><a href="lv_vagues.php?cur=20" title="Gestion des vagues" class="<?php echo $class_20;?>">Gestion des vagues</a></li>
    <li><a href="lv_plan.php?cur=4" title="Planification du push" class="<?php echo $class_4;?>">Planification du push</a></li>
   
    <li><a href="logout.php" title="Quitter">Quitter</a></li>
</ul>

<?php }?>

<?php 
if($_SESSION["profil"]=="RT"){?>

<ul id="simple-menu">

    <li><a href="rt_acc.php?cur=10"  class="<?php echo $class_10;?>">Accueil</a></li><!--
    <li><a href="liste_user.php" class="<?php echo $current;?>">Gestion Utilisateurs</a></li>
    --><li><a href="rt_list_dis.php?cur=16" class="<?php echo $class_16;?>">Gestion des &eacute;tablissements</a></li>
     <li><a href="rt_interv.php?cur=8" class="<?php echo $class_8;?>">Gestion des interviews</a></li>
     <li><a href="rt_synth.php?cur=9" class="<?php echo $class_9;?>">Fiche de synth&egrave;se</a></li> 
    <li><a href="logout.php" title="Quitter">Quitter</a></li>
</ul>

<?php }?>

<?php 
if($_SESSION["profil"]=="MAN"){?>

<ul id="simple-menu">
    <li><a href="man_acc.php?cur=11" title="Accueil" class="<?php echo $class_11;?>">Accueil</a></li>
    <li><a href="man_list_dis.php?cur=13" class="<?php echo $class_13;?>">Gestion des &eacute;tablissements</a></li> 
    <li><a href="man_interv.php?cur=19" class="<?php echo $class_19;?>">Gestion des interviews</a></li> 
    <li><a href="logout.php" title="Quitter">Quitter</a></li>
</ul>

<?php }?>

<?php 
if($_SESSION["profil"]=="RQ"){?>

<ul id="simple-menu">
    <li><a href="rq_acc.php?cur=17" class="<?php echo $class_17;?>">Accueil</a></li>
    <li><a href="rq_list_dis.php?cur=14" class="<?php echo $class_14;?>">Gestion des &eacute;tablissements</a></li>
    <li><a href="rq_interv.php?cur=6" class="<?php echo $class_6;?>">Gestion des interviews</a></li>   
      <li><a href="rq_synth.php?cur=15" class="<?php echo $class_15;?>">Fiche de synth&eacute;se</a></li>
    <li><a href="logout.php" title="Quitter">Quitter</a></li>
</ul>

<?php }?>

<?php 
if($_SESSION["profil"]=="DIS"){?>

<ul id="simple-menu">
    <li><a href="dis_acc1.php?cur=18" class="<?php echo $class_18;?>">Accueil</a></li>
    <li><a href="dis_acc.php?cur=5" class="<?php echo $class_5;?>">Gestion des contacts</a></li>
    <li><a href="dis_interv.php?cur=6" class="<?php echo $class_6;?>">Gestion des interviews</a></li>
      <li><a href="logout.php" title="Quitter">Quitter</a></li>
</ul>

<?php }?>
</div>